import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
//引入自动生成路由插件
import Pages from 'vite-plugin-pages'
// https://vite.dev/config/
export default defineConfig({
  plugins: [
    react(),
    Pages({
      dirs: 'src/views',
    }),
  ],
})




